<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
</head>
<body>
<script type="text/javascript" src="../jquery-3.2.1.js"></script>
<script type="text/javascript">
	$.ajax({
		type:'get',
		url:'https://geoapi.qweather.com/v2/city/lookup',
		data:{
			location:'青岛',
			key:'c494e264764449f7b4f6bf742276d7f9'
		},
		success:(res)=>{
			console.log(res)
		},
		error:(err)=>{
			console.log(err)
		}
	})

	$.ajax({
		type:'post',
		url:'http://wish.byesame.com/login',
		contentType:'application/x-www-form-urlencoded',
		data:{
			userName:'admin',
			passWord:'123456'
		},
		success:(res)=>{
			console.log(res)
		},
		error:(err)=>{
			console.log(err)
		}
	})
</script>
</body>
</html>